<div class="tabCon">
    <form id="form" action="{$Think.config.base_url}{:url('admin/store.store/edit')}" method="post">
            <input name="member_id" value="{$joinin_info.member_id}" type="hidden">
            <input name="type" value="joinin" type="hidden">
            <table class="table table-border table-bg  table-bordered table-hover">
                <thead>
                  <tr>
                    <th  colspan=6>公司及联系人信息</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <th class='active text-r'>公司名称：</th>
                    <td colspan=5><input type="text"  name="company_name" datatype="*" nullmsg="请填写公司名称" class="input-text" value="{$joinin_info.company_name|default=''}" placeholder="" ></td>
                  </tr>
                  <tr>
                    <th  class='active text-r'>公司所在地：</th>
                    <td colspan=5>
                        <div class="row cl">
                            <div class="formControls col-xs-6 col-sm-6">
                                <input id="areacode_joinin" type="hidden" name="company_area_code" value="{$joinin_info.company_area_code}">
                                <span class="select-box">
                                    <select id="prov_joinin" class='prov' ></select>
                                    <select id="city_joinin" class='city' ></select>
                                    <select id="area_joinin" class='area'  datatype="*" nullmsg="请选择地区"></select>
                                </span>
                                <input  id="company_address_joinin" type="hidden" name="company_address" value="{$joinin_info.company_address|default=''}">
                            </div>
                            <div class="col-xs-3 col-sm-3"></div>
                        </div>
                    </td>
                  </tr>
                  <tr>
                    <th class='active text-r'>公司电话：</th>
                    <td><input class="input-text" type="text" name="company_phone" value="{$joinin_info.company_phone|default=''}"></td>
                    <th class='active text-r'>员工总数：</th>
                    <td><input class="input-text" type="text" name="company_employee_count" value="{$joinin_info.company_employee_count|default=''}"></td>
                    <th class='active text-r'>注册资金（万元）：</th>
                    <td><input class="input-text" type="text" name="company_registered_capital" value="{$joinin_info.company_registered_capital|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>联系人姓名：</th>
                    <td><input class="input-text" type="text" name="contacts_name" value="{$joinin_info.contacts_name|default=''}"></td>
                    <th class='active text-r'>联系人电话：</th>
                    <td><input class="input-text" type="text" name="contacts_phone" value="{$joinin_info.contacts_phone|default=''}"></td>
                    <th class='active text-r'>电子邮箱：</th>
                    <td><input class="input-text" type="text" name="contacts_email" value="{$joinin_info.contacts_email|default=''}"></td>
                  </tr>
                </tbody>
              </table>
                    <table class="table table-border table-bg  table-bordered table-hover mt-20">
                <thead>
                  <tr>
                    <th colspan=6>营业执照信息（副本）</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <th width="20%" class='active text-r'>营业执照号：</th>
                    <td colspan=5><input class="input-text" type="text" name="business_licence_number" value="{$joinin_info.business_licence_number|default=''}"></td>
                  </tr>
                  <tr>
                    <th  class='active text-r'>营业执照所在地：</th>
                    <td colspan=5><input  class="input-text" type="text" name="business_licence_address" value="{$joinin_info.business_licence_address|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>营业执照有效期：</th>
                    <td colspan=5><input  class="input-text" type="text" name="business_licence_start" value="{$joinin_info.business_licence_start|default=''}">-<input class="input-text" type="text" name="company_address" value="{$joinin_info.company_phone|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>法定经营范围：</th>
                    <td colspan=5><input class="input-text" type="text" name="business_sphere" value="{$joinin_info.business_sphere|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>营业执照电子版：</th>
                    <td colspan=5>
                        <div class="form form-horizontal" id="brand_pic" >
                            <div class="row cl">
                                <div class="formControls col-xs-6 col-sm-6">
                                    <input type="text" class="input-text" name="business_licence_number_electronic" value="{$joinin_info.business_licence_number_electronic}" id="business_licence_number_electronic" placeholder="请点击后面的上传按钮" nullmsg="请上传图片" style="width: 70%">
                                    <button type="button" class="btn btn-primary radius" onclick="layer_open('文件上传','{:\\think\\Url::build(\'Upload/index\', [\'id\' => \'business_licence_number_electronic\'])}')">上传</button>
                                </div>
                                <div class="col-xs-3 col-sm-3"></div>
                            </div>
                            <div class="row cl">
                                <div class="formControls col-xs-6 col-sm-6">
                                    <img id="img_business_licence_number_electronic" height='100' src='{$joinin_info.business_licence_number_electronic|img_url}' >
                                </div>
                            </div>
                        </div>
                    </td>
                  </tr>
                </tbody>
              </table>
                    <table class="table table-border table-bg  table-bordered table-hover mt-20">
                <thead>
                  <tr>
                    <th colspan=6>组织机构代码证</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <th width="20%" class='active text-r'>组织机构代码：</th>
                    <td colspan=5><input class="input-text" type="text" name="organization_code" value="{$joinin_info.organization_code|default=''}"></td>
                  </tr>
                  <tr>
                    <th  class='active text-r'>组织机构代码证电子版：</th>
                    <td colspan=5>
                        <div class="form form-horizontal" id="brand_pic" >
                            <div class="row cl">
                                <div class="formControls col-xs-6 col-sm-6">
                                    <input type="text" class="input-text" name="organization_code_electronic" value="{$joinin_info.organization_code_electronic}" id="organization_code_electronic" placeholder="请点击后面的上传按钮" nullmsg="请上传图片" style="width: 70%">
                                    <button type="button" class="btn btn-primary radius" onclick="layer_open('文件上传','{:\\think\\Url::build(\'Upload/index\', [\'id\' => \'organization_code_electronic\'])}')">上传</button>
                                </div>
                                <div class="col-xs-3 col-sm-3"></div>
                            </div>
                            <div class="row cl">
                                <div class="formControls col-xs-6 col-sm-6">
                                    <img id="img_organization_code_electronic" height='100' src='{$joinin_info.organization_code_electronic|img_url}' >
                                </div>
                            </div>
                        </div>
                    </td>
                  </tr>
                </tbody>
              </table>
                    <table class="table table-border table-bg  table-bordered table-hover mt-20">
                <thead>
                  <tr>
                    <th colspan=6>一般纳税人证明</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <th width="20%" class='active text-r'>一般纳税人证明：</th>
                    <td colspan=5>
                        <div class="form form-horizontal" id="brand_pic" >
                            <div class="row cl">
                                <div class="formControls col-xs-6 col-sm-6">
                                    <input type="text" class="input-text" name="general_taxpayer" value="{$joinin_info.general_taxpayer}" id="general_taxpayer" placeholder="请点击后面的上传按钮" nullmsg="请上传图片" style="width: 70%">
                                    <button type="button" class="btn btn-primary radius" onclick="layer_open('文件上传','{:\\think\\Url::build(\'Upload/index\', [\'id\' => \'general_taxpayer\'])}')">上传</button>
                                </div>
                                <div class="col-xs-3 col-sm-3"></div>
                            </div>
                            <div class="row cl">
                                <div class="formControls col-xs-6 col-sm-6">
                                    <img id="img_general_taxpayer" height='100' src='{$joinin_info.general_taxpayer|img_url}' >
                                </div>
                            </div>
                        </div>
                    </td>
                  </tr>
                </tbody>
              </table>
              <table class="table table-border table-bg  table-bordered table-hover mt-20">
                <thead>
                  <tr>
                    <th colspan=6>开户银行信息</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <th width="20%" class='active text-r'>银行开户名：</th>
                    <td colspan=5><input class="input-text" type="text" name="bank_account_name" value="{$joinin_info.bank_account_name|default=''}"></td>
                  </tr>
                  <tr>
                    <th  class='active text-r'>公司银行账号：</th>
                    <td colspan=5><input class="input-text" type="text" name="bank_account_number" value="{$joinin_info.bank_account_number|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>开户银行支行名称：</th>
                    <td colspan=5><input class="input-text" type="text" name="bank_name" value="{$joinin_info.bank_name|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>支行联行号：</th>
                    <td colspan=5><input class="input-text" type="text" name="bank_code" value="{$joinin_info.bank_code|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>开户银行所在地：</th>
                    <td colspan=5><input class="input-text" type="text" name="bank_address" value="{$joinin_info.bank_address|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>开户银行许可证电子版：</th>
                    <td colspan=5>
                        <div class="form form-horizontal" id="brand_pic" >
                            <div class="row cl">
                                <div class="formControls col-xs-6 col-sm-6">
                                    <input type="text" class="input-text" name="bank_licence_electronic" value="{$joinin_info.bank_licence_electronic}" id="upload_bank_licence_electronic" placeholder="请点击后面的上传按钮" nullmsg="请上传图片" style="width: 70%">
                                    <button type="button" class="btn btn-primary radius" onclick="layer_open('文件上传','{:\\think\\Url::build(\'Upload/index\', [\'id\' => \'upload_bank_licence_electronic\'])}')">上传</button>
                                </div>
                                <div class="col-xs-3 col-sm-3"></div>
                            </div>
                            <div class="row cl">
                                <div class="formControls col-xs-6 col-sm-6">
                                    <img id="img_upload_bank_licence_electronic" height='100' src='{$joinin_info.bank_licence_electronic|img_url}' >
                                </div>
                            </div>
                        </div>
                    </td>
                  </tr>
                </tbody>
              </table>
              <table class="table table-border table-bg  table-bordered table-hover mt-20">
                <thead>
                  <tr>
                    <th colspan=6>结算账号信息</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <th width="20%" class='active text-r'>银行开户名：</th>
                    <td colspan=5><input class="input-text" type="text" name="settlement_bank_account_name" value="{$joinin_info.settlement_bank_account_name|default=''}"></td>
                  </tr>
                  <tr>
                    <th  class='active text-r'>公司银行账号：</th>
                    <td colspan=5><input class="input-text" type="text" name="settlement_bank_account_number" value="{$joinin_info.settlement_bank_account_number|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>开户银行支行名称：</th>
                    <td colspan=5><input class="input-text" type="text" name="settlement_bank_name" value="{$joinin_info.settlement_bank_name|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>支行联行号：</th>
                    <td colspan=5><input class="input-text" type="text" name="settlement_bank_code" value="{$joinin_info.settlement_bank_code|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>开户银行所在地：</th>
                    <td colspan=5><input class="input-text" type="text" name="settlement_bank_address" value="{$joinin_info.settlement_bank_address|default=''}"></td>
                  </tr>
                </tbody>
              </table>
                    <table class="table table-border table-bg  table-bordered table-hover mt-20">
                <thead>
                  <tr>
                    <th colspan=6>税务登记证</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <th width="20%" class='active text-r'>税务登记证号：</th>
                    <td colspan=5><input class="input-text" type="text" name="tax_registration_certificate" value="{$joinin_info.tax_registration_certificate|default=''}"></td>
                  </tr>
                  <tr>
                    <th  class='active text-r'>纳税人识别号：</th>
                    <td colspan=5><input class="input-text" type="text" name="taxpayer_id" value="{$joinin_info.taxpayer_id|default=''}"></td>
                  </tr>
                  <tr>
                    <th class='active text-r'>税务登记证号电子版：</th>
                    <td colspan=5>
                        <div class="form form-horizontal" id="brand_pic" >
                            <div class="row cl">
                                <div class="formControls col-xs-6 col-sm-6">
                                    <input type="text" class="input-text" name="tax_registration_certificate_electronic" value="{$joinin_info.tax_registration_certificate_electronic}" id="tax_registration_certificate_electronic" placeholder="请点击后面的上传按钮" nullmsg="请上传图片" style="width: 70%">
                                    <button type="button" class="btn btn-primary radius" onclick="layer_open('文件上传','{:\\think\\Url::build(\'Upload/index\', [\'id\' => \'tax_registration_certificate_electronic\'])}')">上传</button>
                                </div>
                                <div class="col-xs-3 col-sm-3"></div>
                            </div>
                            <div class="row cl">
                                <div class="formControls col-xs-6 col-sm-6">
                                    <img id="img_tax_registration_certificate_electronic" height='100' src='{$joinin_info.tax_registration_certificate_electronic|img_url}' >
                                </div>
                            </div>
                        </div>
                    </td>
                  </tr>
                </tbody>
              </table>
          <div class='mt-20 text-c'>
	          <input class="btn btn-success radius" type="submit" onclick="$('#verify_type').val('pass');return true;" value="保存">&nbsp;&nbsp;&nbsp;
	          <input class="btn btn-default radius" type="submit" onclick="$('#verify_type').val('fail');return true;" value="取消">
          </div>
          </form>
        </div>
<script>
    function upload_callback(id, value){
        $('#img_'+id).prop('src',value);
    }
</script>